﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entetities
{
    public class NhomSanPham
    {
        public int Manhom { get; set; }
        public int Manhomcha { get; set; }
        public int Tennhom { get; set; }
        public NhomSanPham()
        {
        }
        public NhomSanPham(int Manhom, int Manhomcha, int Tennhom)
        {
            this.Manhom = Manhom;
            this.Manhomcha = Manhomcha;
            this.Tennhom = Tennhom;
        }
        public override bool Equals(object obj)
        {
            NhomSanPham me = (NhomSanPham)obj;
            bool result = this.Manhom.Equals(me.Manhom);
            return result;
        }
        public override int GetHashCode()
        {
            return this.Manhom.GetHashCode();
        }
    }
}
